package com.yeguang.LbsApp.baidu.common;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component("BaiduApiConfig")
public class BaiduApiConfig {
	@Value("#{configProperties['http.timeout']}")
	private int mConnectTimeout;
	
	@Value("#{configProperties['baidu.svr.ak']}")
	private String mApiKey;

	public int getConnectTimeout() {
		return mConnectTimeout;
	}

	public void setConnectTimeout(int mConnectTimeout) {
		this.mConnectTimeout = mConnectTimeout;
	}

	public String getApiKey() {
		return mApiKey;
	}

	public void setApiKey(String mApiKey) {
		this.mApiKey = mApiKey;
	}
	
}
